<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" xmlns:util="urn:jsptagdir:/WEB-INF/tags/util" 
id="footer" version="2.0"> 
 
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <link media="all" type="text/css" rel="stylesheet" href="/yamazure/css/excite-bike/jquery-ui-1.8.18.custom.css"/>
		<link media="all" type="text/css" rel="stylesheet" href="/yamazure/css/bootstrap.css" />
		<link media="all" type="text/css" rel="stylesheet" href="/yamazure/css/additional.css" />
		<link media="all" type="text/css" rel="stylesheet" href="/yamazure/css/responsive.css" />
         <title>Yamazure :: Item List</title>
    </head>
    <body>
    	
    	<div class="navbar navbar-fixed-top">
   <div class="navbar-inner">
     <div class="container">
       <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
       </a>
       <a class="brand" href="/yamazure/#">
       		<i class="icon-home icon-white" style="vertical-align: middle;"></i>
       		Yamazure&nbsp;&nbsp;&nbsp;&nbsp;
       </a>
       <div class="nav-collapse">
       	 <ul class="nav tooltip-demo">
       	 	<li class="dropdown">
       	 		<a class="dropdown-toggle" data-toggle="dropdown" href="#" rel="tooltip" data-original-title="Person Management with Yamasura">
       	 			<i class="icon-user icon-white"></i>
       	 			Person
       	 			<b class="caret"></b>
       	 		</a>
       	 		<ul class="dropdown-menu">
       	 			<li><a href="/yamazure/person">Create</a></li>
       	 			<li><a href="/yamazure/person/search">Search</a></li>
       	 			<li><a href="/yamazure/person/result">List</a></li>
       	 		</ul>
       	 	</li>
       	 	<li class="dropdown">
       	 		<a class="dropdown-toggle" href="#" data-toggle="dropdown" rel="tooltip" data-original-title="Item Management with Yamasura">
       	 			<i class="icon-tags icon-white"></i>
       	 			Item
       	 			<b class="caret"></b>
       	 		</a>
       	 		<ul class="dropdown-menu">
       	 			<li><a href="/yamazure/item">Create</a></li>
       	 			<li><a href="/yamazure/item/search">Search</a></li>
       	 			<li><a href="/yamazure/item/search/result">List</a></li>
       	 		</ul>
       	 	</li>
       	 </ul>
       </div>
     </div>
   </div>
 </div>
    
    <div class="container">
    
        <table cellpadding="3" cellspacing="1" class="table table-striped table-condensed">
    <tr>
        <td><b>Code</b></td>
        <td><b>Name</b></td>
        <td><b>Price</b></td>
        <td><b>Description</b></td>
        <td><b>Action</b></td>
    </tr>
    #foreach($i in $list.items)
    <tr>
        <td>$!i.code</td>
        <td>$!i.name</td>
        <td>$!i.price</td>
        <td>$!i.description</td>
        <td>
        	<a href="/yamazure/view/item/$!i.id">
                <img src="/yamazure/images/silk/application_view_detail.png" title="Detail" border="0"/></a>&nbsp;&nbsp;&nbsp;
        	<a href="/yamazure/item/update/$!i.id">
                <img src="/yamazure/images/silk/application_edit.png" title="Edit" border="0"/></a>&nbsp;&nbsp;&nbsp;
            <a href="/yamazure/item/delete/$!i.id" onclick="javascript:return confirm('Are you sure want to delete $!i.name?');">
                <img src="/yamazure/images/silk/delete.png" title="Delete" border="0"/></a>&nbsp;&nbsp;&nbsp;
        </td>
    </tr>
    #end
        </table>
        
        <br/><br/>
 	<footer class="footer">
 		&copy; Yamazure 2012
 	</footer>
        </div>
        <script src="/yamazure/js/jquery-1.7.1.min.js"></script>
		<script src="/yamazure/js/jquery-ui-1.8.18.custom.min.js"></script>
		<script src="/yamazure/js/bootstrap.js"></script>
		<script>
			$("#datepicker").datepicker();
			 $('a[rel=tooltip]').tooltip({
			'placement': 'bottom'
			});
		</script>
    </body>
</html>
